package com.ipfsemc.ipfsemc.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value ="Product",description = "产品")
public class Product {
    @ApiModelProperty(notes = "ID")
    private String proId;

    @ApiModelProperty(notes = "类别ID",example = "2",readOnly = true)
    private Integer categoryId;

    @ApiModelProperty(notes = "首页ID",example = "2")
    private Integer homeId;

    @ApiModelProperty(notes = "产品价格")
    private BigDecimal proPrice;

    @ApiModelProperty(notes = "赠送的云豆")
    private BigDecimal proYun;

    @ApiModelProperty(notes = "会员价")
    private BigDecimal vipPrice;

    @ApiModelProperty(notes = "维护费",example = "2")
    private Double proMaintenance;

    @ApiModelProperty(notes = "产品名称")
    private String proName;


    @ApiModelProperty(notes = "产品类别")
    private String category;

    @ApiModelProperty(notes = "存储配置")
    private String categoryStore;

    @ApiModelProperty(notes = "合约期")
    private Integer duration;

    @ApiModelProperty(notes = "购买升力值")
    private Integer buyUp;

    @ApiModelProperty(notes = "推荐升力值")
    private Integer recomUp;

    //类别的字段

    @ApiModelProperty(notes = "类型   1为年  2 为1年租  3买断")
    private String Type;

    @ApiModelProperty(notes = "托管费",example = "20")
    private Integer trustee;

    @ApiModelProperty(notes = "租用额外费用",example = "50")
    private Integer trusteePlus;

}